package com.incar.chuxing.bean;

import java.util.List;

/**
 * Created by Michael Pi on 2016/9/29.
 */
public class CheckPositionBean {

    /**
     * status : 200
     * message : 获取成功,车停在在围栏外
     * debug : null
     * attachment : {"distance":6592.5087800798965,"returnMoney":0,"isInFence":0}
     */

    private int status;
    private String message;
    private Object debug;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * distance : 6592.5087800798965
         * returnMoney : 0
         * isInFence : 0
         */

        private String distance;
        private double returnMoney;
        private int isInFence;
        private int isAccurate;
        private String userRemark;
        private List<ListBean> reasons;

        public List<ListBean> getList() {
            return reasons;
        }

        public void setList(List<ListBean> list) {
            this.reasons = list;
        }

        public static class ListBean {
            /**
             * id : 1
             * reason : 1.找不到车
             */

            private String id;
            private String reason;
            private String deleteFlag;
            private String type;
            private String seq;
            private String createTime;
            private String updateTime;

            public String getDeleteFlag() {
                return deleteFlag;
            }

            public void setDeleteFlag(String deleteFlag) {
                this.deleteFlag = deleteFlag;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getSeq() {
                return seq;
            }

            public void setSeq(String seq) {
                this.seq = seq;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getReason() {
                return reason;
            }

            public void setReason(String reason) {
                this.reason = reason;
            }
        }

        public String getUserRemark() {
            return userRemark;
        }

        public void setUserRemark(String userRemark) {
            this.userRemark = userRemark;
        }

        public int getIsAccurate() {
            return isAccurate;
        }

        public void setIsAccurate(int isAccurate) {
            this.isAccurate = isAccurate;
        }

        public String getDistance() {
            return distance;
        }

        public void setDistance(String distance) {
            this.distance = distance;
        }

        public double getReturnMoney() {
            return returnMoney;
        }

        public void setReturnMoney(double returnMoney) {
            this.returnMoney = returnMoney;
        }

        public int getIsInFence() {
            return isInFence;
        }

        public void setIsInFence(int isInFence) {
            this.isInFence = isInFence;
        }
    }
}
